package com.ge.boot07hellostarter.service;

import com.ge.boot07hellostarter.properties.HelloProperties;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 业务层代码
 */
@Service
public class HelloService {

    @Autowired
    private HelloProperties helloProperties;

    public String sayHello(){

        return "您好：" + helloProperties.getName();
    }
}
